package com.lwj;

import java.util.List;

/**
 * 自定义内部认证信息
 *
 * @author liwenjian
 *
 */
public class TokenEntity {
	/**
	 * 用户id
	 */
	private String uid;
	/**
	 * 用户名称
	 */
	private String un;
	/**
	 * 是否内部授权: true(1)/false(0)
	 */
	private Integer in = 0;
	/**
	 * 用户角色
	 */
	private List<String> roles;

	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}

	public String getUn() {
		return un;
	}

	public void setUn(String un) {
		this.un = un;
	}

	public Integer getIn() {
		return in;
	}

	public void setIn(Integer in) {
		this.in = in;
	}

	public List<String> getRoles() {
		return roles;
	}

	public void setRoles(List<String> roles) {
		this.roles = roles;
	}

}
